/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.envelopinfo.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.envelopinfo.entity.EnvelopInfo;
import com.thinkgem.jeesite.modules.envelopinfo.dao.EnvelopInfoDao;

/**
 * 生成红包Service
 * @author thinkgem
 * @version 2017-08-22
 */
@Service
@Transactional(readOnly = true)
public class EnvelopInfoService extends CrudService<EnvelopInfoDao, EnvelopInfo> {

	public EnvelopInfo get(String id) {
		return super.get(id);
	}
	
	public List<EnvelopInfo> findList(EnvelopInfo envelopInfo) {
		return super.findList(envelopInfo);
	}
	
	public Page<EnvelopInfo> findPage(Page<EnvelopInfo> page, EnvelopInfo envelopInfo) {
		return super.findPage(page, envelopInfo);
	}
	
	@Transactional(readOnly = false)
	public void save(EnvelopInfo envelopInfo) {
		super.save(envelopInfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(EnvelopInfo envelopInfo) {
		super.delete(envelopInfo);
	}
	
}